package com.skydonkey.pojo.dto;

import java.io.Serializable;

public class VideoConversionDto implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long videoId;    //视频id
    private String videoKey;    //视频key
    private String videoUrl;    //视频url
    private String videoOriginalFormat; //视频原格式
    private String videoTargetFormat;   //视频目标格式
    private String persistId;    //向七牛发起转换格式返回的persistId
    private Integer statusCode;  //七牛处理视频转码的状态

    public Long getVideoId() {
        return videoId;
    }

    public VideoConversionDto setVideoId(Long videoId) {
        this.videoId = videoId;
        return this;
    }

    public String getVideoKey() {
        return videoKey;
    }

    public VideoConversionDto setVideoKey(String videoKey) {
        this.videoKey = videoKey;
        return this;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public VideoConversionDto setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
        return this;
    }

    public String getVideoOriginalFormat() {
        return videoOriginalFormat;
    }

    public VideoConversionDto setVideoOriginalFormat(String videoOriginalFormat) {
        this.videoOriginalFormat = videoOriginalFormat;
        return this;
    }

    public String getVideoTargetFormat() {
        return videoTargetFormat;
    }

    public VideoConversionDto setVideoTargetFormat(String videoTargetFormat) {
        this.videoTargetFormat = videoTargetFormat;
        return this;
    }

    public String getPersistId() {
        return persistId;
    }

    public VideoConversionDto setPersistId(String persistId) {
        this.persistId = persistId;
        return this;
    }

    public Integer getStatusCode() {
        return statusCode;
    }

    public VideoConversionDto setStatusCode(Integer statusCode) {
        this.statusCode = statusCode;
        return this;
    }

    @Override
    public String toString() {
        return "VideoConversionDto{" +
                "videoId=" + videoId +
                ", videoKey='" + videoKey + '\'' +
                ", videoUrl='" + videoUrl + '\'' +
                ", videoOriginalFormat='" + videoOriginalFormat + '\'' +
                ", videoTargetFormat='" + videoTargetFormat + '\'' +
                ", persistId='" + persistId + '\'' +
                ", statusCode='" + statusCode + '\'' +
                '}';
    }
}
